#pragma once

#include <vector>
#include <assert.h>

class cInterfaceObj
{
public:
	IDirect3DTexture9*	m_ptexture[1];
	UINT								m_uWidth;
	UINT								m_uHeight;
	RECT								m_rcImage;
	
	D3DXVECTOR2			m_vPosition;
	D3DXVECTOR2			m_vScaling;
	float									m_fRotationZ;
	D3DXCOLOR					m_Color;
	D3DXIMAGE_INFO		ImageInfo;

	float								  ShotChangeCount;
	float								  BombChangeCount;

	bool								  bIsDraw;

public:	
	cInterfaceObj( IDirect3DDevice9* pd3dDevice, const char* pFileName, float RectScale );
	~cInterfaceObj(void);

	void InitDeviceObjects( IDirect3DDevice9* pd3dDevice ){}
	bool Create( IDirect3DDevice9* pd3dDevice, const char* pFileName, float RectScale );
	void Draw( ID3DXSprite* pd3dSprite,  float pos, char* _alpha );

};
